﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoratorPattern.DemoTwo
{
    public abstract class Decorator : SchoolReport
    {
        private SchoolReport sr;

        public Decorator(SchoolReport sr)
        {
            this.sr = sr;
        }

        public override string report()
        {
            return this.sr.report();
        }

        public override string sign(string name)
        {
            return this.sr.sign(name);
        }
    }
}
